import React from 'react'

function Sontabs({childrenData}) {
    return (
        <div>
            {
                childrenData && childrenData.map((it, i) => {
                    return <div key={i}>
                        <p>
                            {it.name}
                            <img src={it.img} alt="" />
                        </p>

                    </div>
                })
            }


        </div>
    )
}

export default Sontabs